<template>
    <div style="background-color: deeppink;">
        我是女儿
        <button @click="$emit('girl',100)">汇报2</button>
        <p>我获得了5000，给爸爸加点钱<button @click.once="store.increment(3000)">jia</button></p>
    </div>
</template>
<script>
import { useMyStore } from '../store/myStore.js';

export default {
    data() {
        return {
            store:useMyStore()
        }
    },
}
</script>